5332bd5219d4630d51ebdeda8b127d25d39e29d2,driver/src/main/java/org/kaazing/k3po/driver/internal/netty/bootstrap/bbosh/BBoshHandshakeChildChannelSource.java,BBoshHandshakeChildChannelSource,channelConnected,#ChannelHandlerContext#ChannelStateEvent#,86
Before Change
final URI httpConnectionLocalURI = httpHandshakeLocalURI.resolve(connectionPath);
final ChannelAddress httpConnectionLocalAddress = addressFactory.newChannelAddress(httpConnectionLocalURI);
ServerBootstrap server = (ServerBootstrap) bootstrapFactory.newServerBootstrap("http");
server.setPipeline(pipeline(new BBoshPollingChildChannelSource(channel)));
ChannelFuture httpBindFuture = server.bindAsync(httpConnectionLocalAddress);
httpBindFuture.addListener(new ChannelFutureListener() {
After Change
final URI httpConnectionLocalURI = httpHandshakeLocalURI.resolve(connectionPath);
final ChannelAddress httpConnectionLocalAddress = addressFactory.newChannelAddress(httpConnectionLocalURI);
ServerBootstrap server = bootstrapFactory.newServerBootstrap("http");
server.setPipeline(pipeline(new BBoshPollingChildChannelSource(channel)));
ChannelFuture httpBindFuture = server.bindAsync(httpConnectionLocalAddress);
httpBindFuture.addListener(new ChannelFutureListener() {